using System.Collections.Generic;
using UnityEngine;

public class butOpenShopCoins : MonoBehaviour
{
	private void OnClick()
	{
		if (Load.LoadBool(settings.KeyActionAfterTutor))
		{
			Dictionary<string, string> dictionary = new Dictionary<string, string>();
			dictionary.Add("Action after tutor", "BANK");
			FlurryWrapper.LogEvent(FlurryWrapper.EV_TUTORIAL_CLOSE, dictionary);
			Save.SaveBool(settings.KeyActionAfterTutor, false);
		}
		settings.playSoundButton();
		if (settings.learningCompleted)
		{
			StartCoroutine(MarketControllerUI.instance.ShowBank());
		}
	}
}
